package com.issoft.studentresitor.mapper;

import com.issoft.studentresitor.domain.pojo.Major;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.issoft.studentresitor.domain.query.MajorPageQuery;
import com.issoft.studentresitor.domain.vo.MajorVo;
import com.issoft.studentresitor.domain.vo.ReportVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author GJH
 * @since 2025-09-14
 */
public interface MajorMapper extends BaseMapper<Major> {
    /**
     * 分页查询
     * @param param
     * @return
     */
    List<MajorVo> queryMajorPage(MajorPageQuery param);
    /**
     * 查询各专业人数
     * @return
     */
    List<ReportVo> queryMajorCount();

    List<ReportVo> queryClazzCount();

    List<ReportVo> queryDormCount();

    List<ReportVo> queryPayCount();
}
